// https://vitepress.dev/guide/custom-theme
import { h } from "vue";
import type { Theme } from "vitepress";
import DefaultTheme from "vitepress/theme";
import "./style.css";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import "vitepress-markdown-timeline/dist/theme/index.css";
import { enhanceAppWithTabs } from 'vitepress-plugin-tabs/client'

export default {
  extends: DefaultTheme,
  Layout: () => {
    return h(DefaultTheme.Layout, null, {});
  },

  enhanceApp({ app, router, siteData }) {
    app.use(Antd);
    enhanceAppWithTabs(app)
  },
} satisfies Theme;
